{namespace f=TYPO3\CMS\Fluid\ViewHelpers}<f:if condition="{condition}">
Do not display
<f:then>YEP</f:then>
<f:else>NOPE</f:else>
</f:if>